<template>
  infoSon : {{ info }}
  <br />
  nameSon : {{ name }}
</template>

<script>
import { ref, inject } from 'vue'
export default {
  setup() {
    const info = inject('info', '默认值')
    const name = inject('zzz', '默认值')
    return {
      info,
      name,
    }
  },
}
</script>
<style scoped></style>
